package com.aaa.service;


import com.aaa.entity.Menu;
import com.aaa.vo.AddOrUpdMenu;
import com.aaa.vo.MenuVo;
import com.aaa.vo.Result;
import com.baomidou.mybatisplus.core.metadata.IPage;

import java.util.List;

public interface MenuService {

    List<Menu> findByUserid(Long userid);
    Result<List<Menu>> getLeftMenu();
    Result<List<Integer>> findByRoleId(Long roleId);
    Result<List<Menu>> getAll(MenuVo menuVo);
    Result<List<Menu>> getAll();
    Result<String> confirmMenu(Long roleId, Long[] menuIds);
    Result<List<Menu>> getMenuType();
    Result<String> addOrUpdMenu(AddOrUpdMenu addOrUpdMenu);
    Result<Menu> getMenuById(Long id);
    Result<String> delByMenuId(Long menuId);
}
